Bluetooth: controller: Rename use of params to param
Rename the use of params word with param. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
6f2d4a4458
commit
236755198b
4 changed files with 13 additions and 13 deletions
|
@ -61,12 +61,12 @@ static int init_reset(void);
|
|||
static inline struct ll_adv_set *is_disabled_get(uint8_t handle);
|
||||
static void ticker_cb(uint32_t ticks_at_expire, uint32_t remainder,
|
||||
uint16_t lazy, uint8_t force, void *param);
|
||||
static void ticker_op_update_cb(uint32_t status, void *params);
|
||||
static void ticker_op_update_cb(uint32_t status, void *param);
|
||||
|
||||
#if defined(CONFIG_BT_PERIPHERAL)
|
||||
static void ticker_stop_cb(uint32_t ticks_at_expire, uint32_t remainder,
|
||||
uint16_t lazy, uint8_t force, void *param);
|
||||
static void ticker_op_stop_cb(uint32_t status, void *params);
|
||||
static void ticker_op_stop_cb(uint32_t status, void *param);
|
||||
static void disabled_cb(void *param);
|
||||
static void conn_release(struct ll_adv_set *adv);
|
||||
#endif /* CONFIG_BT_PERIPHERAL */
|
||||
|
@ -275,7 +275,7 @@ uint8_t ll_adv_params_set(uint16_t interval, uint8_t adv_type,
|
|||
adv->is_created = 1;
|
||||
#endif /* CONFIG_BT_CTLR_ADV_EXT */
|
||||
|
||||
/* remember params so that set adv/scan data and adv enable
|
||||
/* remember parameters so that set adv/scan data and adv enable
|
||||
* interface can correctly update adv/scan data in the
|
||||
* double buffer between caller and controller context.
|
||||
*/
|
||||
|
@ -1836,7 +1836,7 @@ static void ticker_op_stop_cb(uint32_t status, void *param)
|
|||
|
||||
#if defined(CONFIG_BT_HCI_MESH_EXT)
|
||||
/* FIXME: why is this here for Mesh commands? */
|
||||
if (params) {
|
||||
if (param) {
|
||||
return;
|
||||
}
|
||||
#endif /* CONFIG_BT_HCI_MESH_EXT */
|
||||
|
|
|
@ -5182,7 +5182,7 @@ static inline int length_req_rsp_recv(struct ll_conn *conn, memq_link_t *link,
|
|||
#endif /* CONFIG_BT_CTLR_PHY */
|
||||
}
|
||||
|
||||
/* prepare event params */
|
||||
/* prepare event parameters */
|
||||
lr->max_rx_octets = sys_cpu_to_le16(eff_rx_octets);
|
||||
lr->max_tx_octets = sys_cpu_to_le16(eff_tx_octets);
|
||||
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
#include "common/log.h"
|
||||
#include "hal/debug.h"
|
||||
|
||||
static void ticker_op_stop_scan_cb(uint32_t status, void *params);
|
||||
static void ticker_op_cb(uint32_t status, void *params);
|
||||
static void ticker_op_stop_scan_cb(uint32_t status, void *param);
|
||||
static void ticker_op_cb(uint32_t status, void *param);
|
||||
static inline void conn_release(struct ll_scan_set *scan);
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_ADV_EXT)
|
||||
|
@ -910,14 +910,14 @@ void ull_master_ticker_cb(uint32_t ticks_at_expire, uint32_t remainder, uint16_t
|
|||
DEBUG_RADIO_PREPARE_M(1);
|
||||
}
|
||||
|
||||
static void ticker_op_stop_scan_cb(uint32_t status, void *params)
|
||||
static void ticker_op_stop_scan_cb(uint32_t status, void *param)
|
||||
{
|
||||
/* TODO: */
|
||||
}
|
||||
|
||||
static void ticker_op_cb(uint32_t status, void *params)
|
||||
static void ticker_op_cb(uint32_t status, void *param)
|
||||
{
|
||||
ARG_UNUSED(params);
|
||||
ARG_UNUSED(param);
|
||||
|
||||
LL_ASSERT(status == TICKER_STATUS_SUCCESS);
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
static void ticker_op_stop_adv_cb(uint32_t status, void *param);
|
||||
static void ticker_op_cb(uint32_t status, void *param);
|
||||
static void ticker_update_latency_cancel_op_cb(uint32_t ticker_status,
|
||||
void *params);
|
||||
void *param);
|
||||
|
||||
void ull_slave_setup(memq_link_t *link, struct node_rx_hdr *rx,
|
||||
struct node_rx_ftr *ftr, struct lll_conn *lll)
|
||||
|
@ -576,9 +576,9 @@ static void ticker_op_cb(uint32_t status, void *param)
|
|||
}
|
||||
|
||||
static void ticker_update_latency_cancel_op_cb(uint32_t ticker_status,
|
||||
void *params)
|
||||
void *param)
|
||||
{
|
||||
struct ll_conn *conn = params;
|
||||
struct ll_conn *conn = param;
|
||||
|
||||
LL_ASSERT(ticker_status == TICKER_STATUS_SUCCESS);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue