Searched refs:params (Results 1 - 18 of 18) sorted by relevance

/openwrt/package/kernel/spi-gpio-custom/src/
H A Dspi-gpio-custom.c113 unsigned int *params,
122 return params[param_index];
125 unsigned int *params,
134 return params[param_index];
137 unsigned int *params,
145 if (!gpio_is_valid(params[param_index]))
148 return params[param_index];
151 static int __init spi_gpio_custom_check_params(unsigned int id, unsigned int *params) argument
166 if (spi_gpio_custom_get_slave_mode(id, params, i) < 0)
169 if (spi_gpio_custom_get_slave_cs(id, params,
112 spi_gpio_custom_get_slave_mode(unsigned int id, unsigned int *params, int slave_index) argument
124 spi_gpio_custom_get_slave_maxfreq(unsigned int id, unsigned int *params, int slave_index) argument
136 spi_gpio_custom_get_slave_cs(unsigned int id, unsigned int *params, int slave_index) argument
194 spi_gpio_custom_add_one(unsigned int id, unsigned int *params) argument
[all...]
/openwrt/package/kernel/lantiq/ltq-hcd/src/
H A Difxusb_driver.c880 ifxusb_params_t *params; local
884 params=&ifxusb_module_params_h;
888 params=&ifxusb_module_params_d;
898 params->dma_burst_size=dma_burst_size;
913 params->dma_burst_size=default_param_dma_burst_size_n;
916 params->dma_burst_size=default_param_dma_burst_size;
918 printk(KERN_INFO "Chip Version :%04x BurstSize=%d\n",partnum,params->dma_burst_size);
921 params->dma_burst_size=default_param_dma_burst_size;
926 params->speed=speed;
928 params
[all...]
H A Difxusb_cif_d.c99 if (_core_if->params.speed == IFXUSB_PARAM_SPEED_FULL)
245 _core_if->params.dma_burst_size = _params->dma_burst_size;
246 _core_if->params.speed = _params->speed;
248 _core_if->params.max_transfer_size = ((1 << (_core_if->hwcfg3.b.xfer_size_cntr_width + 11)) - 1);
250 _core_if->params.max_transfer_size = _params->max_transfer_size;
253 _core_if->params.max_packet_count= ((1 << (_core_if->hwcfg3.b.packet_size_cntr_width + 4)) - 1);
255 _core_if->params.max_packet_count= _params->max_packet_count;
256 _core_if->params.phy_utmi_width = _params->phy_utmi_width;
257 _core_if->params.turn_around_time_hs = _params->turn_around_time_hs;
258 _core_if->params
[all...]
H A Difxusb_cif_h.c182 _core_if->params.dma_burst_size = _params->dma_burst_size;
183 _core_if->params.speed = _params->speed;
185 _core_if->params.max_transfer_size = ((1 << (_core_if->hwcfg3.b.xfer_size_cntr_width + 11)) - 1);
187 _core_if->params.max_transfer_size = _params->max_transfer_size;
190 _core_if->params.max_packet_count= ((1 << (_core_if->hwcfg3.b.packet_size_cntr_width + 4)) - 1);
192 _core_if->params.max_packet_count= _params->max_packet_count;
193 _core_if->params.phy_utmi_width = _params->phy_utmi_width;
194 _core_if->params.turn_around_time_hs = _params->turn_around_time_hs;
195 _core_if->params.turn_around_time_fs = _params->turn_around_time_fs;
196 _core_if->params
[all...]
H A Difxusb_ctl.c3742 ifxusb_params_t *params=&_core_if->params; local
3756 IFX_PRINT(" Burst size: %d\n",params->dma_burst_size);
3758 if (params->speed==1)
3760 else if(params->speed==0)
3763 IFX_PRINT("Unkonwn setting (%d) for Speed\n",params->speed);
3766 params->data_fifo_size,params->data_fifo_size,
3767 params->data_fifo_size*4, params
[all...]
H A Difxhcd.c574 num_channels = _ifxhcd->core_if.params.host_channels;
685 int num_channels = _ifxhcd->core_if.params.host_channels;
789 int num_channels = ifxhcd->core_if.params.host_channels;
1560 uint32_t max_hc_xfer_size = core_if->params.max_transfer_size;
1561 uint16_t max_hc_pkt_count = core_if->params.max_packet_count;
2100 num_channels = _ifxhcd->core_if.params.host_channels;
H A Difxusb_cif.h208 ifxusb_params_t params; /*!< Run-time Parameters */ member in struct:ifxusb_core_if
H A Difxhcd_intr.c3971 int num_channels = _ifxhcd->core_if.params.host_channels;
4457 num_channels = _ifxhcd->core_if.params.host_channels;
4836 for (i=0; i<MAX_EPS_CHANNELS && i< core_if->params.host_channels; i++)
/openwrt/package/kernel/i2c-gpio-custom/src/
H A Di2c-gpio-custom.c102 static int __init i2c_gpio_custom_add_one(unsigned int id, unsigned int *params) argument
117 pdev = platform_device_alloc("i2c-gpio", params[BUS_PARAM_ID]);
123 pdata.sda_pin = params[BUS_PARAM_SDA];
124 pdata.scl_pin = params[BUS_PARAM_SCL];
125 pdata.udelay = params[BUS_PARAM_UDELAY];
126 pdata.timeout = params[BUS_PARAM_TIMEOUT];
127 pdata.sda_is_open_drain = params[BUS_PARAM_SDA_OD] != 0;
128 pdata.scl_is_open_drain = params[BUS_PARAM_SCL_OD] != 0;
129 pdata.scl_is_output_only = params[BUS_PARAM_SCL_OO] != 0;
/openwrt/package/kernel/rotary-gpio-custom/src/
H A Drotary-gpio-custom.c85 unsigned int *params)
100 pdev = platform_device_alloc("rotary-gpio", params[0]);
106 pdata.steps = params[1];
107 pdata.axis = params[2];
110 pdata.gpio_a = params[3];
111 pdata.gpio_b = params[4];
113 if (params[5] == 1) {
84 rotary_gpio_custom_add_one(unsigned int id, unsigned int *params) argument
/openwrt/target/linux/at91/image/u-boot/ubclient/
H A Dubpar.c64 FILE *params; local
110 printf("Make u-boot params\n");
129 params = fopen("/dev/mtd1", "w");
130 fwrite(envptr, CFG_ENV_SIZE, 1, params);
131 fclose(params);
/openwrt/package/kernel/w1-gpio-custom/src/
H A Dw1-gpio-custom.c92 static int __init w1_gpio_custom_add_one(unsigned int id, unsigned int *params) argument
107 pdev = platform_device_alloc("w1-gpio", params[BUS_PARAM_ID]);
113 pdata.pin = params[BUS_PARAM_PIN];
114 pdata.is_open_drain = params[BUS_PARAM_OD] ? 1 : 0;
/openwrt/tools/firmware-utils/src/
H A Dimagetag_cmdline.c21 #define FIX_UNUSED(X) (void) (X) /* avoid warnings for unused params */
79 struct imagetag_cmdline_params *params, const char *additional_error);
255 imagetag_cmdline_params_init(struct imagetag_cmdline_params *params) argument
257 if (params)
259 params->override = 0;
260 params->initialize = 1;
261 params->check_required = 1;
262 params->check_ambiguity = 0;
263 params->print_errors = 1;
270 struct imagetag_cmdline_params *params local
517 imagetag_cmdline_ext(int argc, char **argv, struct gengetopt_args_info *args_info, struct imagetag_cmdline_params *params) argument
536 struct imagetag_cmdline_params params; local
756 imagetag_cmdline_internal( int argc, char **argv, struct gengetopt_args_info *args_info, struct imagetag_cmdline_params *params, const char *additional_error) argument
[all...]
H A Dimagetag_cmdline.h196 * @param params additional parameters for the parser
201 struct imagetag_cmdline_params *params);
234 * @param params the structure to initialize
236 void imagetag_cmdline_params_init(struct imagetag_cmdline_params *params);
/openwrt/package/kernel/broadcom-wl/src/
H A Dwlc.c437 edcf_acparam_t params[AC_COUNT]; local
446 memset(params, 0, sizeof(params));
447 ret = wl_iovar_get(interface, type, params, sizeof(params));
467 params[cur].ACI = (params[cur].ACI & (0x3 << 5)) | (cur << 5);
473 params[cur].ECW = (params[cur].ECW & ~(0xf)) | cw2ecw(intval);
475 params[cu
[all...]
/openwrt/package/libs/libnl-tiny/src/
H A Dcache.c233 struct nl_parser_param *params; member in struct:update_xdata
240 return nl_cache_parse(x->ops, &msg->nm_src, msg->nm_nlh, x->params);
251 .params = param,
309 struct nlmsghdr *nlh, struct nl_parser_param *params)
318 err = ops->co_msg_parser(ops, who, nlh, params);
308 nl_cache_parse(struct nl_cache_ops *ops, struct sockaddr_nl *who, struct nlmsghdr *nlh, struct nl_parser_param *params) argument
/openwrt/toolchain/musl/include/sys/
H A Dcdefs.h286 # define __nonnull(params) __attribute__ ((__nonnull__ params))
288 # define __nonnull(params)
/openwrt/scripts/config/lxdialog/
H A Ddialog.h56 #define TR(params) _tracef params

Completed in 193 milliseconds