/drivers/media/usb/dvb-usb/ |
H A D | cinergyT2-core.c | 62 char state[3]; local 63 return dvb_usb_generic_rw(d, buf, sizeof(buf), state, sizeof(state), 0); 69 char state[3]; local 74 ret = dvb_usb_generic_rw(adap->dev, query, sizeof(query), state, 75 sizeof(state), 0); 78 "state info\n"); 141 static int cinergyt2_rc_query(struct dvb_usb_device *d, u32 *event, int *state) argument 147 *state = REMOTE_NO_KEY_PRESSED; 156 *state [all...] |
H A D | cinergyT2-fe.c | 147 struct cinergyt2_fe_state *state = fe->demodulator_priv; local 152 ret = dvb_usb_generic_rw(state->d, cmd, sizeof(cmd), (u8 *)&result, 179 struct cinergyt2_fe_state *state = fe->demodulator_priv; local 184 ret = dvb_usb_generic_rw(state->d, cmd, sizeof(cmd), (char *)&status, 195 struct cinergyt2_fe_state *state = fe->demodulator_priv; local 200 ret = dvb_usb_generic_rw(state->d, cmd, sizeof(cmd), (u8 *)&status, 214 struct cinergyt2_fe_state *state = fe->demodulator_priv; local 219 ret = dvb_usb_generic_rw(state->d, cmd, sizeof(cmd), (char *)&status, 232 struct cinergyt2_fe_state *state = fe->demodulator_priv; local 237 ret = dvb_usb_generic_rw(state 268 struct cinergyt2_fe_state *state = fe->demodulator_priv; local 302 struct cinergyt2_fe_state *state = fe->demodulator_priv; local [all...] |
H A D | dtt200u-fe.c | 25 struct dtt200u_fe_state *state = fe->demodulator_priv; local 28 dvb_usb_generic_rw(state->d,&st,1,b,3,0); 48 struct dtt200u_fe_state *state = fe->demodulator_priv; local 50 dvb_usb_generic_rw(state->d,&bw,1,b,3,0); 57 struct dtt200u_fe_state *state = fe->demodulator_priv; local 60 dvb_usb_generic_rw(state->d,&bw,1,b,2,0); 67 struct dtt200u_fe_state *state = fe->demodulator_priv; local 69 dvb_usb_generic_rw(state->d,&bw,1,&b,1,0); 76 struct dtt200u_fe_state *state = fe->demodulator_priv; local 78 dvb_usb_generic_rw(state 85 struct dtt200u_fe_state *state = fe->demodulator_priv; local 106 struct dtt200u_fe_state *state = fe->demodulator_priv; local 145 struct dtt200u_fe_state *state = fe->demodulator_priv; local 152 struct dtt200u_fe_state *state = (struct dtt200u_fe_state*) fe->demodulator_priv; local 160 struct dtt200u_fe_state* state = NULL; local [all...] |
H A D | dtt200u.c | 81 static int dtt200u_rc_query(struct dvb_usb_device *d, u32 *event, int *state) argument 85 dvb_usb_nec_rc_key_to_event(d,key,event,state);
|
H A D | dvb-usb-remote.c | 113 int state; local 122 if (d->props.rc.legacy.rc_query(d,&event,&state)) { 128 switch (state) { 146 switch (state) { 230 d->state |= DVB_USB_STATE_REMOTE; 335 d->state |= DVB_USB_STATE_REMOTE; 342 if (d->state & DVB_USB_STATE_REMOTE) { 349 d->state &= ~DVB_USB_STATE_REMOTE; 357 u8 keybuf[5], u32 *event, int *state) 362 *state 356 dvb_usb_nec_rc_key_to_event(struct dvb_usb_device *d, u8 keybuf[5], u32 *event, int *state) argument [all...] |
H A D | vp7045-fe.c | 31 struct vp7045_fe_state *state = fe->demodulator_priv; local 32 u8 s0 = vp7045_read_reg(state->d,0x00), 33 s1 = vp7045_read_reg(state->d,0x01), 34 s3 = vp7045_read_reg(state->d,0x03); 57 struct vp7045_fe_state *state = fe->demodulator_priv; local 58 *ber = (vp7045_read_reg(state->d, 0x0D) << 16) | 59 (vp7045_read_reg(state->d, 0x0E) << 8) | 60 vp7045_read_reg(state->d, 0x0F); 66 struct vp7045_fe_state *state = fe->demodulator_priv; local 67 *unc = (vp7045_read_reg(state 74 struct vp7045_fe_state *state = fe->demodulator_priv; local 84 struct vp7045_fe_state *state = fe->demodulator_priv; local 109 struct vp7045_fe_state *state = fe->demodulator_priv; local 138 struct vp7045_fe_state *state = fe->demodulator_priv; local [all...] |
/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-phy.c | 24 int mxl111sf_init_tuner_demod(struct mxl111sf_state *state) argument 52 return mxl111sf_ctrl_program_regs(state, mxl_111_overwrite_default); 55 int mxl1x1sf_soft_reset(struct mxl111sf_state *state) argument 60 ret = mxl111sf_write_reg(state, 0xff, 0x00); /* AIC */ 63 ret = mxl111sf_write_reg(state, 0x02, 0x01); /* get out of reset */ 69 int mxl1x1sf_set_device_mode(struct mxl111sf_state *state, int mode) argument 77 ret = mxl111sf_write_reg(state, 0x03, 82 ret = mxl111sf_write_reg_mask(state, 91 state->device_mode = mode; 97 int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, in argument 104 mxl111sf_disable_656_port(struct mxl111sf_state *state) argument 111 mxl111sf_enable_usb_output(struct mxl111sf_state *state) argument 119 mxl111sf_config_mpeg_in(struct mxl111sf_state *state, unsigned int parallel_serial, unsigned int msb_lsb_1st, unsigned int clock_phase, unsigned int mpeg_valid_pol, unsigned int mpeg_sync_pol) argument 202 mxl111sf_init_i2s_port(struct mxl111sf_state *state, u8 sample_size) argument 232 mxl111sf_disable_i2s_port(struct mxl111sf_state *state) argument 244 mxl111sf_config_i2s(struct mxl111sf_state *state, u8 msb_start_pos, u8 data_width) argument 274 mxl111sf_config_spi(struct mxl111sf_state *state, int onoff) argument 304 mxl111sf_idac_config(struct mxl111sf_state *state, u8 control_mode, u8 current_setting, u8 current_value, u8 hysteresis_value) argument [all...] |
/drivers/media/usb/ttusb-dec/ |
H A D | ttusbdecfe.c | 53 struct ttusbdecfe_state* state = fe->demodulator_priv; local 61 ret=state->config->send_command(fe, 0x73, sizeof(b), b, &len, result); 93 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; local 102 state->config->send_command(fe, 0x71, sizeof(b), b, NULL, NULL); 120 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; local 138 (state->hi_band ? LOF_HI : LOF_LO)); 142 band = htonl(state->hi_band ? LOF_HI : LOF_LO); 144 lnb_voltage = htonl(state->voltage); 147 state->config->send_command(fe, 0x71, sizeof(b), b, NULL, NULL); 154 struct ttusbdecfe_state* state local 174 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; local 184 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; local 202 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; local 210 struct ttusbdecfe_state* state = NULL; local 230 struct ttusbdecfe_state* state = NULL; local [all...] |
/drivers/misc/cb710/ |
H A D | core.c | 175 static int cb710_suspend(struct pci_dev *pdev, pm_message_t state) argument 182 if (state.event & PM_EVENT_SLEEP)
|
/drivers/misc/ |
H A D | ioc4.c | 147 unsigned int state, last_state = 1; local 157 /* Reset to power-on state */ 172 state = int_out.fields.int_out; 173 if (!last_state && state) { 181 last_state = state;
|
/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d_i2c.c | 44 static int lis3_reg_ctrl(struct lis3lv02d *lis3, bool state) argument 47 if (state == LIS3_REG_OFF) {
|
/drivers/misc/mic/card/ |
H A D | mic_device.c | 40 static void mic_notify_host(u8 state) argument 45 iowrite8(state, &bootparam->shutdown_status); 47 __func__, __LINE__, state);
|
/drivers/mtd/maps/ |
H A D | bfin-async-flash.c | 46 static void switch_to_flash(struct async_state *state) argument 48 local_irq_save(state->irq_flags); 50 gpio_set_value(state->enet_flash_pin, 0); 52 state->save_ambctl0 = bfin_read_EBIU_AMBCTL0(); 53 state->save_ambctl1 = bfin_read_EBIU_AMBCTL1(); 54 bfin_write_EBIU_AMBCTL0(state->flash_ambctl0); 55 bfin_write_EBIU_AMBCTL1(state->flash_ambctl1); 59 static void switch_back(struct async_state *state) argument 61 bfin_write_EBIU_AMBCTL0(state->save_ambctl0); 62 bfin_write_EBIU_AMBCTL1(state 72 struct async_state *state = (struct async_state *)map->map_priv_1; local 88 struct async_state *state = (struct async_state *)map->map_priv_1; local 99 struct async_state *state = (struct async_state *)map->map_priv_1; local 114 struct async_state *state = (struct async_state *)map->map_priv_1; local 133 struct async_state *state; local 178 struct async_state *state = platform_get_drvdata(pdev); local [all...] |
H A D | gpio-addr-flash.c | 35 * struct async_state - keep GPIO flash state 36 * @mtd: MTD state for this mapping 37 * @map: MTD map state for this flash 55 * @state: GPIO flash state 63 static void gf_set_gpios(struct async_state *state, unsigned long ofs) argument 67 ofs /= state->win_size; 70 if (state->gpio_values[i] != value) { 71 gpio_set_value(state->gpio_addrs[i], value); 72 state 84 struct async_state *state = gf_map_info_to_state(map); local 107 struct async_state *state = gf_map_info_to_state(map); local 133 struct async_state *state = gf_map_info_to_state(map); local 154 struct async_state *state = gf_map_info_to_state(map); local 210 struct async_state *state; local 279 struct async_state *state = platform_get_drvdata(pdev); local [all...] |
H A D | physmap.c | 63 static void physmap_set_vpp(struct map_info *map, int state) argument 79 if (state) {
|
/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_cs.h | 26 /* BFA state machine interfaces */ 31 * st - state, eg. reset 43 /* For converting from state machine function to state encoding. */ 45 bfa_sm_t sm; /*!< state machine function */ 46 int state; /*!< state machine encoding */ member in struct:bfa_sm_table 47 char *name; /*!< state name for display */ 55 * st - state, eg. reset 80 return smt[i].state; [all...] |
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_dcb.h | 42 unsigned long state; member in struct:qlcnic_dcb
|
/drivers/net/ethernet/qualcomm/ |
H A D | qca_framing.h | 89 /* The frame length is used as the state until 102 /* Current decoding state */ 103 enum qcafrm_state state; member in struct:qcafrm_handle 118 handle->state = QCAFRM_HW_LEN0; 122 * by following a simple state machine.
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac_lib.c | 76 unsigned int state; local 77 state = (status & DMA_STATUS_TS_MASK) >> DMA_STATUS_TS_SHIFT; 79 switch (state) { 107 unsigned int state; local 108 state = (status & DMA_STATUS_RS_MASK) >> DMA_STATUS_RS_SHIFT; 110 switch (state) {
|
/drivers/net/fddi/skfp/ |
H A D | ecm.c | 20 Hardware independent state machine 24 * Hardware independent state machine implemantation 71 * symbolic state names 103 init ECM state machine 116 ECM state machine 120 display state change 126 int state ; local 129 DB_ECM("ECM : state %s%s", 133 state = smc->mib.fddiSMTECMState ; 136 } while (state ! [all...] |
H A D | rmt.c | 23 * Hardware independent state machine implemantation 75 * symbolic state names 122 init RMT state machine 139 RMT state machine 143 display state change 149 int state ; local 152 DB_RMT("RMT : state %s%s", 156 state = smc->mib.m[MAC0].fddiMACRMTState ; 159 } while (state != smc->mib.m[MAC0].fddiMACRMTState) ; 303 * Claim or Beacon state [all...] |
/drivers/net/irda/ |
H A D | girbil-sir.c | 124 unsigned state = dev->fsm.substate; local 133 switch(state) { 170 state = GIRBIL_STATE_WAIT_SPEED; 182 IRDA_ERROR("%s - undefined state %d\n", __func__, state); 186 dev->fsm.substate = state; 207 unsigned state = dev->fsm.substate; local 214 switch (state) { 220 state = GIRBIL_STATE_WAIT1_RESET; 227 state [all...] |
/drivers/net/wireless/ath/carl9170/ |
H A D | cmd.c | 205 u32 state; local 214 state = CARL9170_PSM_SLEEP | 1; 217 state = 1; 220 cmd->psm.state = cpu_to_le32(state);
|
/drivers/net/wireless/b43/ |
H A D | leds.h | 28 atomic_t state; member in struct:b43_led 29 /* The active state in hardware. */
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | usb_rdl.h | 24 #define DL_START 3 /* initialize dl state */ 54 __le32 state; member in struct:rdl_state_le
|